package com.kingyun.gpsinspection.purificationservice.facade.service.iam.up;

import com.alibaba.fastjson.JSONObject;
import com.kingyun.gpsinspection.purificationservice.facade.model.iam.up.ReportProblem;

/**
 * Created by ${yangsy} on 2017/4/20.
 */
public interface ReportProblemService {
    /**
     * 新增操作
     * @param record
     * @param uploadFiles
     * @param deletedFiles
     * @return
     */
    int insert(ReportProblem record, String uploadFiles, String deletedFiles);

    /***
     * 查询操作
     * @param reportProblem 查询条件对象
     * @return
     */
    JSONObject list(ReportProblem reportProblem);

    /**
     * 查询详情操作
     * @param problemId
     * @return
     */
    ReportProblem selectByPrimaryKey(String problemId);
}
